package com.key.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StocktakingResult {

  //盘点结果主键ID
  private Long srId;
  //盘点单号
  private String sfNo;
  //资产ID
  private Long assetsId;
  //盈亏结果
  private String srResult;
  //状态(1:未盘点，2:已盘点)
  private Integer srState;
  //盘点备注
  private String srRemark;
  //盘点时间
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  private Timestamp srStocktakingTime;
  //盘点人
  private String srStocktakingMan;
  //盘点表创建时间
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  private Timestamp srCreateTime;
  //原来的资产存放点
  private String originalAssetsStorageLocation;
  //原来的资产存区域
  private String originalAssetsRegion;
  //原来的使用人id
  private String originalEmployeeName;
  //原来的使用部门id
  private String originalDepartmentName;
  //原来的使用公司id
  private String originalCompanyName;
  //修改后的资产存放点
  private String editedAssetsStorageLocation;
  //修改后的资产存放区域
  private String editedAssetsRegion;
  //修改后的使用人id
  private String editedEmployeeName;
  //修改后的使用部门id
  private String editedDepartmentName;
  //修改后的使用公司id
  private String editedCompanyName;

}
